﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace KFormBase
{
    public partial class FormChild : Form
    {
        
        public FormChild()
        {
            InitializeComponent();
        }      

        public void SetChildFormControl(UserControl uc)
        {
            try 
            {
                this.Controls.Add(uc);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.ToString());
            }
           
        }
    }
}
